/**
 * <p>Title: OberverTest.java>
 * <p>Description: 设计模式-观察者模式：测试
 * <p>Company: YSS
 * @author yangsongsong
 * @date 2019年1月8日
 */
package com.yss.obsever;

public class OberverTest {
	@SuppressWarnings("unused")
	public static void main(String[] args) {
		ObjectFor3D objectFor3D = new ObjectFor3D();
		Oberver1 oberver1 = new Oberver1(objectFor3D);
		Oberver2 oberver2 = new Oberver2(objectFor3D);

		objectFor3D.setMessage("20140420的3D号码是：127");
		objectFor3D.setMessage("20140421的3D号码是：137");
	}
}
